<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>MeteoCal Home</title>
    </h:head>
    <h:body>
        <ui:composition template="./templateguest.xhtml">
            <ui:define name="center">
                <div style="margin-left: 15px;margin-right: 20px;">
                    <h2>
                        Welcome to MeteoCal!
                    </h2>
                    <p>
                        Are you tired of bringing with you an umbrella an then discover it’s a shiny sunny day?
                    </p>
                    <p>
                        Are you tired of planning events and search in many different web sites for the weather forecast for that date? 
                    </p>
                    <p>
                        Are you tired of forgetting appointments?
                    </p>
                    <p>
                        MeteoCal is made for you!
                    </p>
                    <p>
                        This application isn’t just a calendar, it’s different from everything else because it offers you the weather forecast for every moment of your life
                        It will make your life easier.
                    </p>
                    <p>
                        Be always prepared to what’s gonna happen, join it!
                    </p>
                </div>
                <p:toolbar style="margin-left: 15px;margin-top: 15px;margin-right: 20px;">
                    <p:toolbarGroup align="right">
                        <p:commandButton value="Go to your personal page" action="/user/home?faces-redirect=true"/>
                    </p:toolbarGroup>
                    <p:toolbarGroup align="left">
                        <p:commandButton value="Register" action="register?faces-redirect=true" />
                    </p:toolbarGroup>
                </p:toolbar>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

